home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c++ / 148 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.8 KB

  1. From: John Max Skaller <maxtal@suphys.physics.su.oz.au>
  2. Message-ID: <3108EC3B.767@suphys.physics.su.oz.au>
  3. X-Original-Date: Sat, 27 Jan 1996 00:59:07 +1000
  4. Path: in2.uu.net!bounce-back
  5. Date: 26 Jan 96 19:13:40 GMT
  6. Approved: fjh@cs.mu.oz.au
  7. Newsgroups: comp.std.c++
  8. Subject: Re: Enhanced container functionality
  9. Organization: MAXTAL
  10. References: <ABJRD_mKQD@qsar.chem.msu.su>
  11. X-Mailer: Mozilla 2.0b6a (WinNT; I)
  12. X-Auth: PGPMoose V1.1 PGP comp.std.c++
  13.     iQBFAgUBMQkn8OEDnX0m9pzZAQH4QgF9F1Krrdc6ZWivos70oenNKGvwk2vjiVwu
  14.     JmgeC/g7rj2Qakv8VBJxy0KhRBqDCA+k
  15.     =Itef
  16.  
  17. Eugene Radchenko wrote:
  18. > Having used the STL for some time, I have come to greatly missing:
  19.  
  20. > First, it is the ability to (easily) flush the entire container
  21. >   void erase() { erase(begin(), end()); }
  22.  
  23. > Second, it is the 'post-factum' equivalents to some constructors
  24. >   void assign(size_type n, T t = T());
  25. >   void assign(const_iterator first, const_iterator last);
  26. > etc. - putting the container into the same state as the one it would have
  27. > after the respective constructor. 
  28. > I think these features deserve inclusion.
  29.  
  30. I find myself tending to agree -- so I'll look into
  31. including these facilities in UESTL. It is too late
  32. for non-essential significant changes to the C++ WP.
  33.  
  34. However, it is a good time to begin developing
  35. a "de facto" standard out of user and vendor experience,
  36. expectations, and some cool analysis.
  37.  
  38. -- 
  39. John Max Skaller               voice: 61-2-566-2189
  40. 81 Glebe Point Rd              fax:   61-2-660-0850
  41. GLEBE NSW 2037                 web: http://www.maxtal.com.au/~skaller/
  42. AUSTRALIA                      email: skaller@maxtal.com.au
  43. ---
  44. [ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  45.   Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy
  46.   is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]
  47.